package com.example.floatingpopulation.mapper;

import com.example.floatingpopulation.controller.dto.chartsDTO;
import com.example.floatingpopulation.controller.request.BaseRequest;
import com.example.floatingpopulation.entity.TemporaryPopulation;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TemporaryPopulationMapper {
    List<TemporaryPopulation> list();

    List<TemporaryPopulation> listByCondition(BaseRequest baseRequest);

    void save(TemporaryPopulation obj);

    void updateById(TemporaryPopulation obj);

    void deleteById(Integer id);

    List<chartsDTO> countTemporaryPopulation();
}
